{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}
<div class="ag_outerwrap">
	<form id="post" method="post" action="{url task=poll page=multi action=vote id=$topic.id}">
		<div class="ag_inform">
			<fieldset>
				<legend class="ag_color">{$topic.question|escape}</legend>
				<div class="ag_infldset txtarea">
					{foreach name=opt_loop from=$poll.options key=option_num item=option}
					<label>
						<input name="options[{$option_num}]" {if $smarty.foreach.opt_loop.index eq 0}checked="checked" {/if} type="checkbox" value="1" />
						<span>{$option|escape}</span>
					</label>
					<div class="ag_clearer"></div>
					{/foreach}
				</div>
			</fieldset>
		</div>
		<div class="ag_postbuttons">
		<span>
			<input class="ag_button ag_btn_submit" type="submit" name="submit" value="##Submit##" accesskey="s" title="##Submit##" />
			<input class="ag_button ag_btn_button" type="submit" name="null" value="##Null vote##" title="##Null vote##" accesskey="n" />
		</span>
		</div>
	</form>
</div>